﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WF_ManageProfile.aspx.cs" Inherits="Prototype1.__Membership.WF_ManageProfile" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <h2>Modifique o seu perfil</h2>
    <h3>Nome completo</h3>      
    <asp:TextBox id="FullName" runat="server" Width="505px"></asp:TextBox>
    <asp:RequiredFieldValidator id="rfvFirstName" runat="server" ErrorMessage="O nome completo é obrigatório." ControlToValidate="FullName"></asp:RequiredFieldValidator><br/>
    
    <h3>Morada</h3>             <asp:TextBox id="Morada" runat="server" Width="504px"></asp:TextBox><br/>
    <h3>NIB</h3>                <asp:TextBox id="NIB" runat="server" Width="502px"></asp:TextBox><br/>
    <h3>Telefone</h3>           <asp:TextBox id="Telefone" runat="server"></asp:TextBox>
    <asp:RegularExpressionValidator ID="revTelefone" runat="server" ValidationExpression="\d{9}" ErrorMessage="Só pode conter 9 algarismos." ControlToValidate="Telefone"></asp:RegularExpressionValidator>
    <br/>
    <h3>Telemovel</h3>          <asp:TextBox id="Telemovel" runat="server"></asp:TextBox>
    <asp:RegularExpressionValidator ID="revTelemovel" runat="server" ValidationExpression="\d{9}" ErrorMessage="Só pode conter 9 algarismos." ControlToValidate="Telemovel"></asp:RegularExpressionValidator>
    <br/>
    <asp:Button ID="Submit" runat="server" Text="Save" OnClick="save_profile"/>
    <asp:HiddenField ID="hiddenGUID" runat="server" />
    <asp:Label ID="Status" runat="server" />
    </form>
    
</body>
</html>
